package com.gametheoryserver.gui.nim.action;

import com.gametheoryserver.gui.nim.PlayNim;
import com.gametheoryserver.gui.nim.state.PlayNimStateHolder;
import com.vaadin.ui.Button.ClickEvent;

/**
 * @author Tomas Barak
 *
 */
public class HideStrategyAction extends AbstractNimAction {

	public HideStrategyAction(PlayNim playNim) {
		super(playNim);
	}

	@Override
	public void buttonClick(ClickEvent event) {
		PlayNimStateHolder.setState(PlayNimStateHolder.HIDE_STRATEGY_STATE,
				super.playNim);
	}

}
